package com.woniuxy.mesboot.service;

import com.woniuxy.mesboot.dto.UserDTO;
import com.woniuxy.mesboot.entity.SysUser;
import com.woniuxy.mesboot.vo.UserVO;

import java.util.List;

public interface UserService {
    SysUser selectByUsername(String username);

    List<UserVO> selectAll(UserDTO user);

    UserVO selectByNameAndPwd(UserDTO user);

    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    UserVO selectByName(String userName);

    String selectPwdById(Long id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);
}
